<link href="<?php echo CSS_User_URL; ?> /Login_style.css" rel="stylesheet" type="text/css">               

<section id="login_cover" class="cover center-child">
    <div class="home_article">

        <div id="login_area">
<?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'login-form',
//                'enableAjaxValidation' => true,
                'htmlOptions' => array(),
//                'enableClientValidation' => true,
//                'enableAjaxValidation' => TRUE,
                'clientOptions' => array(
                    'validateOnSubmit' => true,
                ),
            ));
            ?>
            <div class="errorSummary">
                <?php echo $form->errorSummary($model); ?>
            </div>
            <div class="login_field">
                <span class="login_title">Email: </span>
                <div class="login_value">
                    <?php echo $form->textField($model, 'email', array()); ?>
                </div>
                <span class="login_status field_status"><?php echo $form->error($model, 'email'); ?></span>
            </div>

            <div class="login_field">
                <span class="login_title">Mật khẩu: </span>
                <div class="login_value">
                    <?php echo $form->passwordField($model, 'password', array()); ?>
                </div>
                <span class="login_status field_status"><?php echo $form->error($model, 'password'); ?></span>
            </div>

            <div class="login_field">
                <span class="login_title"></span>
                <div class="login_value">
                    <?php echo $form->checkBox($model, 'rememberMe', array('id'=>'sign_up_condition')); ?>
                    <label for="sign_up_condition">Nhớ đăng nhập.</label>
                </div>
                
            </div>
            <div class="login_field">
                <span class="login_title"></span>
                <div class="login_value">
                    <?php echo CHtml::submitButton('Đăng nhập', array('class' => 'button_base')); ?>
                </div>
                <span class="login_status"></span>
            </div>

            <?php $this->endWidget(); ?>
        </div>

    </div>
</section>